package com.cnbm.wcsbasic.protocol.netty.io.param;

import com.cnbm.wcsbasic.protocol.netty.io.common.Package;
import com.cnbm.wcsbasic.protocol.netty.io.common.RcvPackage;

public interface PlcVar {
    //read sended
    public Package toBytes();
    //write sended
    public Package toBytes(Object newValue);

    //read received
    public RcvPackage toObjectForRead(Package value);

    public abstract RcvPackage toObjectForWrite(Package value);
    public String protocolName();
}
